package cn.itsource.crm.query;

import lombok.Data;

/**
 * 公共的分页信息
 */
@Data
public class BaseQuery {
    private Long currentPage = 1L;
    private Long pageSize = 10L;

    public Long getStart(){
        return (this.currentPage-1)*pageSize;
    }
}
